package com.ws.eduorder.client;

import com.ws.commonutils.CourseWebVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ws
 * @create 2024-12-14 09:47
 */
@FeignClient("service-edu")
public interface CourseClient {

    @GetMapping("/eduservice/frontcourse/getOrderCourse/{courseId}")
    public CourseWebVo getOrderCourse(@PathVariable("courseId") String courseId);
}
